package com.zhao.dota.service;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.File;
import java.io.IOException;
import java.io.Serializable;
import java.util.List;

public interface ImportMatchService {

    void importMatch(File matchFile) throws IOException;

    void importMatch(Long matchId);

    void parseReply(List<Long> ids) throws IOException;

    void doParse(ImportMatch importMatch);

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    class ImportMatch implements Serializable {

        private String filePath;

        private long matchId;

    }

}
